motorcycles = ['honda','yamaha','suzuki']
print(motorcycles)
motorcycles.append("ducati")
print(motorcycles)
motorcycles[0] = 'ducati'
print(motorcycles)
motorcycles = []
motorcycles.append('honda')
motorcycles.append('yamaha')
motorcycles.append('suzuki')
print(motorcycles)
motorcycles = ['honda','yamaha','suzuki']
motorcycles.insert(0,'ducati')
print(motorcycles)

motorcycles = ['honda','yamaha','suzuki']
print(motorcycles)
del motorcycles[0]
print(motorcycles)
print("----------------")
motorcycles = ['honda','yamaha','suzuki']
print(motorcycles)
popped_motorcycle = motorcycles.pop()
print(motorcycles)
print(popped_motorcycle)

print("----------------")
motorcycles = ['honda','yamaha','suzuki']
last_owned = motorcycles.pop().title()
print("The last motorcycle I owned was a "+last_owned.title()+".")

print("----------------")
motorcycles = ['honda','yamaha','suzuki']
last_owned = motorcycles.pop(0).title()
print("The last motorcycle I owned was a "+last_owned.title()+".")
print("----------------")
motorcycles = ['honda','yamaha','suzuki','ducati']
print(motorcycles)
motorcycles.remove('ducati')
print(motorcycles)